package com.outdoor.pojo.vo;

import com.outdoor.pojo.entity.NodeAttachment;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class NodeVO {
    private Long id;
    //用户id
    private Long uid;
    //节点描述
    private String description;
    //节点类型  0：普通节点  1：关键节点  2：公有节点
    private Integer type;
    //经度
    private Double longitude;
    //纬度
    private Double latitude;
    //海拔
    private Double altitude;
    //信号强度
    private Integer sign;
    //附件列表
    private List<NodeAttachment> attachments = new ArrayList<>();
}
